﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CsharpTrainer.Linq.Service.Northwind;
using CsharpTrainer.Linq;
using Zeus.Thunder.Core;

namespace SharpTrainer.Linq
{
    class AddEmployeeTest : ITestCase
    {
        public void Run()
        {
            EmployeeService empService = new EmployeeService();
            Employees employee = new Employees
            {
                LastName = "David",
                FirstName = "Gu"
            };
            int ret = 0;
            ret = empService.AddEmployee(employee);

            Console.WriteLine("Add an employee successfully!New Employee ID: {0}", ret);
        }
    }
}
